home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / COMMUNIC / 2056.ZIP / MSK313.ZIP / NETWORKS / WINPKT.DOC < prev   
Text File  |  1993-06-29  |  3KB  |  55 lines

  1. WINPKT - Interface between Microsoft Windows and a Packet Driver
  2.  
  3. Prof. Joe R. Doupnik, Utah State University, Logan Utah
  4.  
  5. May, 1992
  6.  
  7. WINPKT is a helper program for Packet Drivers, called a "shim", because it is
  8. inserted between two other programs that normally talk directly to each other.
  9. It does an essential job for applications that use packet drivers and that run
  10. under Windows: it knows how to contact the application properly when a packet
  11. arrives for it.  The reason this is a tricky business is that Windows moves
  12. applications around in memory, but the packet driver thinks its applications
  13. are at fixed addresses.  If a packet driver attempts delivery the process will
  14. likely cause major systems problems (or worse) when the packet data is written
  15. to the wrong address.  To use WINPKT:
  16.  
  17.  1. Start your packet driver, but give it an interrupt number higher than
  18.     the normal 0x60.
  19.  
  20.  2. Start WINPKT with a command line of:
  21.  
  22.        winpkt win_int pd_int
  23.  
  24. The first item, win_int, is the interrupt seen by applications as if WINPKT
  25. were a Packet Driver.  Let win_int be 0x60.  The second item, pd_int, is the
  26. interrupt of the real Packet Driver, say 0x63.  The two must be different
  27. values and please make win_int be SMALLER than pd_int.  
  28.  
  29.  3. Then start Windows.
  30.  
  31. Tell applications to use the win_int value for a Packet Driver interrupt.
  32. Many applications will search for it instead, thus by making win_int smaller
  33. than pd_int they will find WINPKT instead of the Packet Driver (and that's
  34. what we want to happen).
  35.  
  36. WINPKT does NOT permit one to run multiple TCP/IP applications together in
  37. Windows.  There are fundamental reasons why this should not be done.  It is
  38. fine to leave WINPKT installed when Windows is not active, because it becomes
  39. transparent then.  Please do NOT use the "-w" switch of Crynwr Collection
  40. Packet Drivers with WINPKT; that switch causes packets to be discarded.  Also
  41. it is not necessary to "fix application in memory" via the Windows PIF file
  42. when WINPKT is installed because WINPKT is smart enough to let that
  43. restriction be removed.
  44.  
  45. Here is a sample network startup Batch file with all the components in place:
  46.  
  47.   @echo off
  48.   c:\wd8003e 0x63 7 0x280 0xca00      (Regular Packet Driver)
  49.   c:\winpkt 0x60 0x63                 (WINPKT)
  50.   c:\ipx                              (Packet Driver version of Novell's IPX)
  51.   c:\netx PS=edu-usu-netlab2          (Novell, connnect to my server)
  52.   @echo on
  53.  
  54. (End of WINPKT.DOC)
  55.